package com.ssy.lingxi.order.service.feign;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.order.model.bo.VendorBO;
import com.ssy.lingxi.order.model.dto.VendorLogoDTO;

import java.util.List;

/**
 * 店铺模板服务Feign接口
 * @author 万宁
 * @version 2.0.0
 * @date 2021-10-29
 */
public interface IPlatformTemplateFeignService {
    /**
     * 查询供应商店铺或商城Logo
     * @param shopId 商城Id
     * @param vendors 供应商列表
     * @return 查询结果
     */
    Wrapper<List<VendorLogoDTO>> findVendorShopLogos(Long shopId, List<VendorBO> vendors);

    /**
     * 查询供应商店铺或商城Logo
     * @param shopId 商城Id
     * @param vendorMemberId 供应商会员Id
     * @param vendorRoleId 供应商会员角色Id
     * @return 供应商Logo
     */
    Wrapper<VendorLogoDTO> findVendorShopLogo(Long shopId, Long vendorMemberId, Long vendorRoleId);
}
